How to remove warning messages in PHP and display only errors on cPanel